<?php
/**
 * Created by PhpStorm.
 * User: July
 * Date: 2019/3/20
 * Time: 10:19
 */

use yii\helpers\Html;
use yii\widgets\DetailView;

$this->title = '创建二维码投放卡券';
$this->params['breadcrumbs'][] = $this->title;
\yii\web\YiiAsset::register($this);
?>
<div class="brands-view">

    <?= DetailView::widget([
        'model' => $model,
        'attributes' => [
            [
                "attribute" => "卡券二维码",
                'value' => $qr_url,
                'format' => ['image', ['width' => '400px', 'height' => '400px']],
            ]
        ],
    ]) ?>

</div>
